package com.zhixianggou.caibaobox.lottery;

import com.zhixianggou.caibaobox.commons.result.ReturnData;
import com.zhixianggou.caibaobox.lottery.dataShow.SLotteryService;
import com.zhixianggou.caibaobox.lottery.dataShow.sco.SLotteryDateSco;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zyq
 * 8/25/24 1:38 PM
 */
@RestController
@RequestMapping("/sLottery")
public class SLotteryController {

    @Resource
    SLotteryService sLotteryService;

    /**
     * 体彩 大乐透列表
     * @param sco
     * @return
     */
    @RequestMapping("/daLeTouList")
    public ReturnData sDaLeTouList(SLotteryDateSco sco){
        return sLotteryService.sDaLeTouList(sco);
    }

    /**
     * 体彩 排列3列表
     * @param sco
     * @return
     */
    @RequestMapping("/array3List")
    public ReturnData array3List(SLotteryDateSco sco){
        return sLotteryService.array3List(sco);
    }

    /**
     * 体彩 排列5列表
     * @param sco
     * @return
     */
    @RequestMapping("/array5List")
    public ReturnData array5List(SLotteryDateSco sco){
        return sLotteryService.array5List(sco);
    }

    /**
     * 体彩 七星彩列表
     * @param sco
     * @return
     */
    @RequestMapping("/sevenStarList")
    public ReturnData sevenStarList(SLotteryDateSco sco){
        return sLotteryService.sevenStarList(sco);
    }
}
